package com.learnyou.server.xingzuo.dao.repository.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.learnyou.server.xingzuo.dao.repository.entity.Storage;

public interface IStorageService extends IService<Storage> {

    Storage getStorageByKey(String storageKey);

    /**
     * upsert 存储
     * @param storageKey
     * @param storageValue
     * @return
     */
    Storage upsertStorage(String storageKey, String storageValue);
}
